const mysql = require("mysql2/promise");
// 连接池pool（用于普通查询）
const pool = mysql.createPool({
  host: "127.0.0.1", //localhost
  user: "root",
  password: "root",
  database: "cms",
  multipleStatements: true,
  debug: true,
  port: "3307",
});

module.exports = pool;
